import request from '@/utils/request'

// 分页查询会议室预定申请单
export function getList(data) {
    return request({
        url: '/meetingApply/findMeetingApplyPageList',
        method: 'post',
        data: data
    })
}

//添加会议室预订
export function getaddList(data) {
    return request({
        url: '/meetingApply/createMeetingApply',
        method: 'post',
        data: data
    })
}

//撤销会议室预定
export function getcanList(data) {
    return request({
        url: '/meetingApply/cancelMeetingApply',
        method: 'post',
        data: data
    })
}

//参会人信息
export function getattendeeList(data) {
    return request({
        url: '/sys/user/findUserList',
        method: 'post',
        data: data
    })
}

//查询空间位置
export function locationTypeList(data) {
    return request({
        url: '/spaceLocation/locationTypeList',
        method: 'post',
        data: data
    })
}

//查询空间位置
export function findMeetingApplyDetail(param) {
    return request({
        url: '/meetingApply/findMeetingApplyDetail/'+param,
        method: 'get'
    })
}

